package com.qy127.entity;


/**
 * 图书信息
 */
public class Book {
 private Integer bookid;//id
 private String bookname;//书名
 private String authoe;//作者
 private Integer count;//数量
 private String remark;//简介描述
 private Integer typeid;//书的分类
 private String publisher; //出版社
 private Integer price;    // 价格
 private Integer status;  // 上架情况

    public Book() {
    }

    public Book(Integer bookid, String bookname, String authoe, Integer count, String remark, Integer typeid, String publisher, Integer price, Integer status) {
        this.bookid = bookid;
        this.bookname = bookname;
        this.authoe = authoe;
        this.count = count;
        this.remark = remark;
        this.typeid = typeid;
        this.publisher = publisher;
        this.price = price;
        this.status = status;
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getAuthoe() {
        return authoe;
    }

    public void setAuthoe(String authoe) {
        this.authoe = authoe;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookid=" + bookid +
                ", bookname='" + bookname + '\'' +
                ", authoe='" + authoe + '\'' +
                ", count=" + count +
                ", remark='" + remark + '\'' +
                ", typeid=" + typeid +
                ", publisher='" + publisher + '\'' +
                ", price=" + price +
                ", status=" + status +
                '}';
    }
}
